package com.qys.livesMall.app.user.model.vo.sys;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户银行卡表(UserBankCard)表实体类
 *
 * @author makejava
 * @since 2023-07-07 15:08:16
 */
@Data
public class UserBankCardVO {

    @JSONField(serializeUsing = ToStringSerializer.class)
    @Schema(description = "id")
    private Long id;

    @JSONField(serializeUsing = ToStringSerializer.class)
    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "开户名")
    private String accountName;

    @Schema(description = "银行卡号/钱包地址")
    private String cardNumber;

    @Schema(description = "预留手机号")
    private String phone;

    @JSONField(serializeUsing = ToStringSerializer.class)
    @Schema(description = "银行id")
    private Long bankId;

    @Schema(description = "银行名称/钱包网络")
    private String bankName;

    @Schema(description = "银行/钱包  状态")
    private Integer bankState;

    @Schema(description = "创建人")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

   
}

